﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UI
{
    public partial class MainForm : Form
    {
        
       








        
        
        public static int selectedRow;

        MainForm_EventHandler mainFormEventHandler;
        public MainForm()
        {

            //mainFormEventHandler = new MainForm_EventHandler();
           
           



            InitializeComponent();
            /*clientDataset = new ClientDataset();
            
            FillTableVariables();
            FillTableEvents();
            FillTableOperations();
            FillTableBindings();*/
        }


        /*public void FillTableVariables()
        {
            dataGridView_Variables.DataSource = clientDataset.recievedDataSet;
            dataGridView_Variables.DataMember = clientDataset.recievedDataSet.Variables.ToString();
        }

        public void FillTableEvents()
        {
            dataGridView_Events.DataSource = clientDataset.recievedDataSet;
            dataGridView_Events.DataMember = clientDataset.recievedDataSet.Events.ToString();
        }

        public void FillTableOperations()
        {
            dataGridView_Operation.DataSource = clientDataset.recievedDataSet;
            dataGridView_Operation.DataMember = clientDataset.recievedDataSet.Operations.ToString();
        }

        public void FillTableBindings()
        {
            dataGridView_Bindings.DataSource = clientDataset.recievedDataSet;
            dataGridView_Bindings.DataMember = clientDataset.recievedDataSet.Bindings.ToString();
        }
        */
        private void dataGridView_Variables_SelectionChanged(object sender, EventArgs e)
        {
            
                selectedRow = dataGridView_Variables.CurrentRow.Index;
                
            
        }

        
        private void tabMainForm_SelectedIndexChanged(object sender, EventArgs e)
        {
            //mainFormEventHandler.TabIndexChanged(tabMainForm.SelectedIndex);
        }

        

     
    }
}
